#include<iostream>
#include<vector>
#include<unordered_map>
using namespace std;
class Solution {
public:
    vector<int> singleNumber(vector<int>& nums) {
        unordered_map<int, int> map;
        for (auto e : nums) {
            map[e]++;
        }
        vector<int> v;
        for (auto& e : map) {
            if (e.second == 1) {
                v.push_back(e.first);
            }
        }
        return v;
    }
};
int main()
{
	return 0;
}